// 首页统计
import request from "@/plugins/request";

// 获取待办提醒
export function getMyTodo(data) {
  return request({
    url: "/platform/todo/getMyTodo",
    method: "post",
    data,
  });
}

// 清除待办
export function clearTodo(data) {
  return request({
    url: "/platform/todo/clearTodo",
    method: "post",
    data,
  });
}

// 经营信息发布
export function pubulishStatistics(data={}) {
  return request({
    url: "/platform/busiInfoStatistics/pubulishStatistics",
    method: "post",
    data,
  });
}

// 经营信息跟踪统计
export function trackStatistics(data={}) {
  return request({
    url: "/platform/busiInfoStatistics/trackStatistics",
    method: "post",
    data,
  });
}

// 企业收益信息统计
export function platformCompanyBusiCountDateStatistics(data={}) {
  return request({
    url: "/platform/busiInfoStatistics/platformCompanyBusiCountDateStatistics",
    method: "post",
    data,
  });
}

// 经营信息按日期统计
export function platformCompanyEarningsDateStatistics(data={}) {
  return request({
    url: "/platform/busiInfoStatistics/platformCompanyEarningsDateStatistics",
    method: "post",
    data,
  });
}

// 个人用户收益信息统计
export function platformCompanyUserEarningsStatistics(data={}) {
  return request({
    url: "/platform/busiInfoStatistics/platformCompanyUserEarningsStatistics",
    method: "post",
    data,
  });
}
